/**
 * create by young (young2f@outlook.com) on 2020/9/12
 */


'use strict';
import React from 'react';
import {connect} from 'dva/index';
import {Form} from 'antd';

import styles from '../index.less';
import FormBase from '../../components/Base/FormBase';
import moment from 'moment';
import 'moment/locale/zh-cn';
import TabsSalesReturnOfGoods from "./tabs/TabsSalesReturnOfGoods";

moment.locale('zh-cn');

const _ = require('lodash');

@Form.create()
@connect(({
            user,
            global,
            customer,
            sales,
            dict,
            material,
            store
          }) => ({...user, ...global, ...dict, ...material, ...customer, ...sales, ...store}))
export default class ReturnOfGoods extends FormBase {
  constructor(props) {
    super(props);
    this.state = {};
  }


  render() {
    return (
      <Form className={styles.content}>
        <TabsSalesReturnOfGoods></TabsSalesReturnOfGoods>
        {/*<Tabs defaultActiveKey={'0'}>*/}
        {/*  <Tabs.TabPane tab={'销售退货'} key="0">*/}
        {/*    <TabsSalesReturnOfGoods></TabsSalesReturnOfGoods>*/}
        {/*  </Tabs.TabPane>*/}
        {/*  /!*<Tabs.TabPane tab={'补退货'} key={'1'}>*!/*/}
        {/*  /!*  <TabsSalesReplenishmentOfGoods></TabsSalesReplenishmentOfGoods>*!/*/}
        {/*  /!*</Tabs.TabPane>*!/*/}
        {/*</Tabs>*/}
      </Form>
    );
  }
}


